[INFO] cloning repository https://github.com/RGafiyatullin/rust-hairy-closure
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/RGafiyatullin/rust-hairy-closure" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FRGafiyatullin%2Frust-hairy-closure", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FRGafiyatullin%2Frust-hairy-closure'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 3bf3e3ae6bacdf5691cab7b572bbcebdf32b3b90
[INFO] building RGafiyatullin/rust-hairy-closure against master#ff34b919075f35a1787659e9c448a34b06bab8de for issue-85264
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FRGafiyatullin%2Frust-hairy-closure" "/workspace/builds/worker-4/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-4/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/RGafiyatullin/rust-hairy-closure on toolchain ff34b919075f35a1787659e9c448a34b06bab8de
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+ff34b919075f35a1787659e9c448a34b06bab8de" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/RGafiyatullin/rust-hairy-closure
[INFO] finished tweaking git repo https://github.com/RGafiyatullin/rust-hairy-closure
[INFO] tweaked toml for git repo https://github.com/RGafiyatullin/rust-hairy-closure written to /workspace/builds/worker-4/source/Cargo.toml
[INFO] crate git repo https://github.com/RGafiyatullin/rust-hairy-closure already has a lockfile, it will not be regenerated
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+ff34b919075f35a1787659e9c448a34b06bab8de" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+ff34b919075f35a1787659e9c448a34b06bab8de" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 5c1d132bbe403d90f770b2b4a5b634de4d2ac1942a14f0b1a7749a88495b8356
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] running `Command { std: "docker" "start" "-a" "5c1d132bbe403d90f770b2b4a5b634de4d2ac1942a14f0b1a7749a88495b8356", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "5c1d132bbe403d90f770b2b4a5b634de4d2ac1942a14f0b1a7749a88495b8356", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "5c1d132bbe403d90f770b2b4a5b634de4d2ac1942a14f0b1a7749a88495b8356", kill_on_drop: false }`
[INFO] [stdout] 5c1d132bbe403d90f770b2b4a5b634de4d2ac1942a14f0b1a7749a88495b8356
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+ff34b919075f35a1787659e9c448a34b06bab8de" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 78cc1bd3d0b1b7924ed336efbc75d02a74834201b1d599cb7daaf0e230c323c5
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] running `Command { std: "docker" "start" "-a" "78cc1bd3d0b1b7924ed336efbc75d02a74834201b1d599cb7daaf0e230c323c5", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.55
[INFO] [stderr]    Compiling cfg-if v0.1.9
[INFO] [stderr]    Compiling rand_core v0.4.0
[INFO] [stderr]    Compiling autocfg v0.1.2
[INFO] [stderr]    Compiling lazy_static v1.3.0
[INFO] [stderr]    Compiling futures v0.1.27
[INFO] [stderr]    Compiling scopeguard v0.3.3
[INFO] [stderr]    Compiling byteorder v1.3.1
[INFO] [stderr]    Compiling slab v0.4.2
[INFO] [stderr]    Compiling stable_deref_trait v1.1.1
[INFO] [stderr]    Compiling arrayvec v0.4.10
[INFO] [stderr]    Compiling nodrop v0.1.13
[INFO] [stderr]    Compiling fnv v1.0.6
[INFO] [stderr]    Compiling memoffset v0.2.1
[INFO] [stderr]    Compiling rustc_version v0.2.3
[INFO] [stderr]    Compiling owning_ref v0.4.0
[INFO] [stderr]    Compiling log v0.4.6
[INFO] [stderr]    Compiling crossbeam-utils v0.6.5
[INFO] [stderr]    Compiling tokio-trace-core v0.1.0
[INFO] [stderr]    Compiling rand_core v0.3.1
[INFO] [stderr]    Compiling rand_jitter v0.1.4
[INFO] [stderr]    Compiling lock_api v0.1.5
[INFO] [stderr]    Compiling rand_xorshift v0.1.1
[INFO] [stderr]    Compiling rand_hc v0.1.0
[INFO] [stderr]    Compiling rand_isaac v0.1.1
[INFO] [stderr]    Compiling parking_lot_core v0.4.0
[INFO] [stderr]    Compiling rand_pcg v0.1.2
[INFO] [stderr]    Compiling rand_chacha v0.1.1
[INFO] [stderr]    Compiling rand v0.6.5
[INFO] [stderr]    Compiling crossbeam-queue v0.1.2
[INFO] [stderr]    Compiling crossbeam-epoch v0.7.1
[INFO] [stderr]    Compiling iovec v0.1.2
[INFO] [stderr]    Compiling rand_os v0.1.3
[INFO] [stderr]    Compiling num_cpus v1.10.0
[INFO] [stderr]    Compiling net2 v0.2.33
[INFO] [stderr]    Compiling bytes v0.4.12
[INFO] [stderr]    Compiling crossbeam-deque v0.7.1
[INFO] [stderr]    Compiling mio v0.6.17
[INFO] [stderr]    Compiling tokio-executor v0.1.7
[INFO] [stderr]    Compiling tokio-sync v0.1.5
[INFO] [stderr]    Compiling tokio-io v0.1.12
[INFO] [stderr]    Compiling tokio-timer v0.2.11
[INFO] [stderr]    Compiling tokio-current-thread v0.1.6
[INFO] [stderr]    Compiling mio-uds v0.6.7
[INFO] [stderr]    Compiling tokio-codec v0.1.1
[INFO] [stderr]    Compiling tokio-threadpool v0.1.14
[INFO] [stderr]    Compiling parking_lot v0.7.1
[INFO] [stderr]    Compiling tokio-reactor v0.1.9
[INFO] [stderr]    Compiling tokio-fs v0.1.6
[INFO] [stderr]    Compiling tokio-udp v0.1.3
[INFO] [stderr]    Compiling tokio-tcp v0.1.3
[INFO] [stderr]    Compiling tokio-uds v0.2.5
[INFO] [stderr]    Compiling tokio v0.1.20
[INFO] [stderr]    Compiling memory-safety v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] error[E0373]: closure may outlive the current function, but it borrows `s`, which is owned by the current function
[INFO] [stdout]   --> src/main.rs:12:13
[INFO] [stdout]    |
[INFO] [stdout] 12 |             |prev, ()| {
[INFO] [stdout]    |             ^^^^^^^^^^ may outlive borrowed value `s`
[INFO] [stdout] 13 |                 let fut = prev.and_then(|()| iteration(&s).into_future());
[INFO] [stdout]    |                                                         - `s` is borrowed here
[INFO] [stdout]    |
[INFO] [stdout] note: closure is returned here
[INFO] [stdout]   --> src/main.rs:7:28
[INFO] [stdout]    |
[INFO] [stdout] 7  | fn fold_it(xs: Vec<()>) -> impl Future<Item = (), Error = ()> {
[INFO] [stdout]    |                            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] help: to force the closure to take ownership of `s` (and any other referenced variables), use the `move` keyword
[INFO] [stdout]    |
[INFO] [stdout] 12 |             move |prev, ()| {
[INFO] [stdout]    |             ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to previous error
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0373`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `memory-safety`
[INFO] [stderr] 
[INFO] [stderr] To learn more, run the command again with --verbose.
[INFO] running `Command { std: "docker" "inspect" "78cc1bd3d0b1b7924ed336efbc75d02a74834201b1d599cb7daaf0e230c323c5", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "78cc1bd3d0b1b7924ed336efbc75d02a74834201b1d599cb7daaf0e230c323c5", kill_on_drop: false }`
[INFO] [stdout] 78cc1bd3d0b1b7924ed336efbc75d02a74834201b1d599cb7daaf0e230c323c5
